import Axios from '../libs/api.request'

/**
 * 获取活动数据
 */
export const getActive = (aid) => {
  return Axios.request({
    url: 'Index/getTpActive',
    method: 'get',
    params: { id: aid }
  })
}
export const addShare = (aid,type) =>{
  return Axios.request({
    url: 'Share/addShare',
    method: 'get',
    params: { aid: aid,type }
  })
}

